package Book;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 周斌
 * Date: 2024-01-08
 * Time: 22:01
 */
public class BookList {
    private book[] books;//用一个数组来作为一个书架
    private int usedSize;//记录书架上有多少本书
    //通过构造方法来创建这个数组的大小
    public BookList() {
        this.books =new book[10];
    }

    public int getUsedSize() {
        return usedSize;
    }

    public void setUsedSize(int usedSize) {
        this.usedSize = usedSize;
    }
}
